package com.usian.article.feign;

import com.usian.model.behavior.pojos.ApBehaviorEntry;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("leadnews-behavior")
public interface BehaviorFeign {
    @PostMapping("/api/v1/behavior/entry")
    ApBehaviorEntry findByUserIdOrEquipmentId(@RequestParam Integer userId, @RequestParam Integer equipmentId);
}
